<?php
class My_Html_A extends Zend_View_Helper_FormElement {
	public $html;
	public function __construct($contain = null, $href = null, $alt = Null, $attribs = false) {
		if ($alt == "") {
			$alt = strip_tags ( $contain );
		}
		if ($attribs) {
			$attribs = $this->_htmlAttribs ( $attribs );
		} else {
			$attribs = '';
		}
		$this->html = "<a href=\"" . $href . "\" alt=\"" . $alt . "\" title=\"" . $alt . "\"" . $attribs . ">" . $contain . "</a>";
	}
}
?>
